package com.jubaozan.service.platform.exception;

import com.jubaozan.c3.framework.exception.BaseException;
import com.jubaozan.service.platform.constants.PlatformConstants;

/**
 * @author c3
 * 异常定义
 */
public class PlatformException extends BaseException {
    public PlatformException(String message, Throwable throwable) {
        super(PlatformConstants.SERVICE_ERROR, message, throwable);
    }

    public PlatformException(String message) {
        super(PlatformConstants.SERVICE_ERROR, message);
    }
}
